fix for linux build