Added config options to create shared libraries