Use static linking on android.