Add build id to footer. Fixes #1700