Attempt to fix Astropy installation with vanilla setuptools

At the moment, with vanilla setuptools, ``sofa_time.c`` is build twice, and the second time it is not linked against the SOFA library, causing a build failure. I am investigating to see if this can be fixed.