disable compiler export flags on all systems except win32