really ugly hack to make pkg-config work