try to make configure.ac it work out even when pkg-config is not installed