Rework rom build scripts

Big improvements in the build script
Migrate the two scripts in one
Fixes for easier building on other machines than mine

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>