Fix CMAKE so luaext works
Revert to previous state
Revert some changes
Fix bad change.
Reset build script to original
Merge pull request #774 from jacobgardner/cmake-fix

Fix to allow LUAEXT to work on linux.
Merge branch 'master' into development