Use system paths instead of hardcoded.
Delegate calls to empkg-config to pkg-config.
Fix spelling error.
Add option --valid-abspaths.
Try fix for higher gcc levels.