Support building Chisel shared libraries