Fix duplicate definitions of fields (now gettfields_fields) and nfields (now getfields_nfields) so that it will build with crlib (i.e. without collimat).