added libdl
added pthread
added all base exceptions