fixed install target to install headers instead of sources, added cmake_minimum_required