Fixed compilation errors under linux mint 15 mate