Fixed compilation in Linux. Have not tested it though.