Changed cmake so that travis can compile