Fixed build on older cmake (2.6 patch 4)