Only Mac needs to link through the shared libs.