Changes to make build independent of version of astropy

Sorry about that -- didn't think through that logic.  I think it's a low priority to fix the comparison, but we should definitely change where the version is obtained from to `astropy.__version__`.