Fixed compilation issues.

Signed-off-by: Goffredo Marocchi <Goffredo.Marocchi@Gamesys.co.uk>