build SMAC and extract_instance as shared libraries.