versionprefix is not always available, only use it when it's defined