compilation settings cleanup for pass2