provide BUILDNUM constant to templates