Fix broken win32+bsd build