Fix for cmake 2.8.10.1