Fixes the API build