Add cross-compile script for platform-api

Signed-off-by: Alberto Aguirre <alberto.aguirre@canonical.com>