compile fix for linux