Modified cmake. Now VS solution can be built.