fix PKG_CONFIG_PATH for separate shared and static builds