Fix compiler warnings with CMAKE and TORQUE_DISABLE_MEMORY_MANAGER.
Merge pull request #800 from LuisAntonRebollo/fix_cmake_warnings

Fix compiler warnings with CMAKE and TORQUE_DISABLE_MEMORY_MANAGER.