Fix compilation options