Use INSTALL_LMOD/INSTALL_CMOD pkg-config variables if available