fix compilation options