fixed patching of build number on Solaris (GNU sed-ism)