[LMP] Fix compatibility with CMake < 2.8.9. Again.