Fix compiler tricks