added installation support to CMake environment

please note that the prefix can be changed via CMAKE_INSTALL_PREFIX
variable. it defaults to /usr/local