tried out gcc 4.8.2
added some switches to the cmake file