updated install script to detect 'RC' versions

see https://github.com/xtuple/xtuple/pull/962