Work around for CMake 3 bug.