Switch to using cmake to generate makefile in traviS