Fix #extension pragma placement