Fix for Cmake 3.0