Turn off deprecated warnings for CMake GCC builds.
Use CMAKE_INCLUDE_CURRENT_DIR.

This is better than setting the include directories manually.
Merge pull request #75 from ahmedcharles/cmake

Cmake build changes.