Add support for custom lock file and output binary locations.
-p is short option for --prepbuild, not -s
Remove trailing _ from FINISH_BUILD_HANDLER