fix camera not compiling on windows.