Fixed compile for linux