Optional build support for SpiderMonkey 1.8.5 and pkg-config