fix for cmake 2.8.12