build: Minor refactoring
Preparations for '-m' driver option
Update subprocess funcs to accept env argument
Add '-m' driver option (fix #23)