protecting hook execution w/ try/catch

otherwise the errors get swallowed for some reason (if some build hook throws an error)