Ah, the chmod 777 issue has already been fixed since I first saw the article.
It said "Comments are closed" at the time, so I didn't comment.
There's another two issues:
4) Don't use `getconf LONG_BIT`. That will also return 64 for a lot of other 64bit non-x86 architectures. Like ia64 and sparc64. Use `uname -m` instead; it'll return "x86_64" for 64bit x86 systems or "i686" for 32bit ones. Well, theoretically, it can also return i386, i486 and i586, but you probably won't release binaries compiled for those either (and i386 has been removed from the kernel with 3.8).
5) "LANG=en" is not really a valid locale. A locale consists of language, region and encoding, like "en_US.UTF-8". "LANG=en" might work, but might also not work.
Note, there's also the special locale "C" (alternative name "POSIX"). This probably does not apply to Unity3D, but if you're doing plain C or C++, it might be wise to set LC_ALL to POSIX; otherwise the glibc will do funky things for some string conversion functions, like the printf and scanf function families. The string "3.3" might or might not sscanf to the float 3.3; alternatively, the string "3,3" might sscanf to the float 3.3.