Add dir substitutes to yarn macros