Fix compilation of port drivers