first step toward windows compilation