Use pkg-config as much as we can, Darwin change for GL as per AAS' suggestion