Make compatible with Windows systems

This includes the abstraction from path separators and support for
batch-files in Android SDK.