Insert the version number during build

Pull the version number from `PACKAGE_VERSION` in the Makefile, and
generate `rcm.sh` from `rcm.sh.in` with that substituted in.