make WIN32 compile work again