use pkg-config instead of hardcoded paths