Support c shared libraries