Fixed build script using previously published public code.

Signed-off-by: Goffredo Marocchi <goffredo.marocchi@gamesys.co.uk>