CMakeLists change

Use add_custom_target instead of add_library and set_target_properties
to avoid warning with unix makefile.

See
http://stackoverflow.com/questions/5957134/how-to-setup-cmake-to-generat
e-header-only-projects