modify for linux build