Simplify cmake install code, since travis formula seems to be buggy.