Work around Visual Studio generator bug of CMake

http://public.kitware.com/Bug/bug_relationship_graph.php?bug_id=9905&graph=relation