Fixed build for cmake 2.8.11