"build.core" property can now be used inside custom menus.
Fixes #1304