use pkg-config instead of hardcoding paths