use actual semver library for nsqd

this fixes parsing versions like `0.2.28-alpha`