Fix Android NDK package, previously ndk-build was not being properly put in $PATH

This commit also brings in the dependencies ndk-build needs and fixes a bug with
permissions

This was commited on behalf of ewemoa