Fix uart compilation on android ndk