Copy a couple previous fixes over to the SDK template CMake file.
Copy a couple previous fixes over to the SDK template CMake file.

--HG--
branch : v1-8

jhu-lcsr-forks/ogre,nezticle/ogre,nezticle/ogre,largerussiangames/ogre,nezticle/ogre,vancepym/ogre,vancepym/ogre,jhu-lcsr-forks/ogre,largerussiangames/ogre,jhu-lcsr-forks/ogre,largerussiangames/ogre,largerussiangames/ogre,vancepym/ogre,vancepym/ogre,vancepym/ogre,jhu-lcsr-forks/ogre,nezticle/ogre,jhu-lcsr-forks/ogre