Fixed camera problems on Windows. Minor changes to build process.