Added libraries.
Added XGL to the mapeditor project.