tweaked build number generation