add base_lib support