tweaks for linux build