Only build the tables and measures modules

This removes the dependency on CFITSIO and WCSLIB