added build script checks for OLPC platforms

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>