Installation into subdirectories of CMAKE_INSTALL_PREFIX

This goes part-way towards issue #77.