Update the cmake files to make them work on linux as well.