libffi working on win32
fix ffi test script
make build independent of tool install paths