merge in ffifunctions to ffitypes for Linux