Fix build after get_fcn refactor