set proper optimization level for windows