build.gradle: packageNameSuffix is now deprecated, move to applicationIdSuffix instead
jni->build.sh: use POSIX-compliant syntax for the functions

the `function` keyword is only recognized on bash shells, but most other POSIX-compliant variants don't support it (i.e: on Macs, dash shells, etc...).
(Strangely, the `function` keyword doesn't seem to be supported on my Ubuntu 13.10's shell either).

Use the POSIX-compliant syntax which is recognized everywhere instead.
e.g: function something {...} --> something() {...}