build extensions