Fixed an issue that prevented Proton from compiling itself when built by VS in release mode.