lang.c.libraries.sdl: Disable dynapi when statically linking.