Prevent gcc from optimizing a few functions away completly.