Compiling Error

@joegiampaoli try the CMake way:

Why? Because the CMake method is way simpler and more automatic than the makefile method. It needs testing.