Fixed compilation on linux (especially Ubuntu based).