added cmake scripts to find libraries on the system