fix cross compiles, it was ignoring the --lua-dir option
Merge branch 'master' into develop
Merge branch 'develop' of https://github.com/simtr/The-Powder-Toy into develop
fix crash with LIFE, fix compiling with lua (again)