add portability functions to asdf