Revert "Fixed incorrect path error in header include."

This reverts commit 73334c74d18103d89beb8c138596cd79244d0478.
Instead of hacking the source, the CMake build script now includes header directories properly.
Build as a static library.