made it possible to compile against tufao without installing it, removed some inline keywords because the functions are used outside of tufao