Added some more terrain settings.
Fix ability to disable the UI.

This was broken by the refactoring of how CEGUI was integrated into the
main loop.
Use correct enums instead of ints.
Fix corrupted libtool archive.

If we use libtool for final linking, then we also need to use it
for temp libraries, otherwise libtool will mess up linking
on static Ember builds.