made pkg config helpers more robust in installation controller