compile extensions