Remove window size detection

struct winsize is not defined in bionic
Avoid name clash when building for Android

When building with Android environment, the compiler complains about
minor and major not being a function. This doesn't happen when building
normally but renaming the parameters can't hurt.
Add script to push binaries to device