Made Android build script compatible with BSD cp (on OS X)