jack: fix eigen detection in cross builds.