update for linux compilation