Fix #96, hopefully on Windows too but that's untested.

Get ndk location from API, prepend it to ndk-build path, remove some
duplication.