add a warning when map/define isn't included