build: check for required builtin functions