hack to build ffi in the bundle on solaris 9