removed dependency on pkg-config