Allow a Build Number of 0

Check if build number is defined, not if true, as in extremely rare case build number may be 0.