build: use RUN_COMMAND() to wrap os.system()