fix build time counter