compile the extensions