Mine was also Environment variables, but it was Ogre3D (shhhhh!) and Boost library paths that caused mine.