Fixed code errors for build.

Cannot find the libs when linking
I may include the Ogre3D and OIS sources in this repo
It would take longer to build but it might fix dep issues