Fix bug that could cause errors with the Forge.

Code was mixing semantic versioning shorthand in the dependency with
greater/less than signs which causes errors on the Forge.