Add after_build hook during after_commit hook

Fixes #29