Fix make install and cmake settings