Better error message on missing symbol definition