Modify build-system script so as not to require the external run-system.d script