Enable warnings
Merge branch 'cmake-improvements' into travis