fix ifdefs around two capi specs
allow running capi specs on maglev