relocate globals include and specify required cmake version of 2.6