Fix for cmake generator.