fixed build to inject version numbers in appropriate places