speedo: Fixes for native build.