Fixed OSX and iOS compilation issues (for C++11 also).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code@4688 dfc29bdd-3216-0410-991c-e03cc46cb475