Updated cmake macros
Updated travis hook
Add some useful constants

Without those developing is kind of painful