More build fixes for Specta