Change to compiler (vs. Windows) test for export defines.