add a warning when map/define isn't included
Merge pull request #1054 from bitovi/map-define-warn-master

Warnings for map/define