Adding the first step towards "cmake" support. It does not work with MSVC 6.0 yet.