Fixes for Android

One hack we could do: `import threading.Thread as Process`. Not sure what could break.