added windows dll export and compilation of test using gtest