(qb) Prefix the pkg-config path with $CROSS_COMPILE
(qb) Make $CROSS_COMPILE affect target OS detection
Merge pull request #1028 from heuripedes/cross-compile

Cross compile improvements