Add package_command for custom packaging

Also fix and cleanup the tracking of build / packaging times.