Workaround for apparent CMake v3.0.0 bug.