Fix build with Android cross-compiler
Define SOCK_NONBLOCK if it is missing