Bug #10010 Fix - Define MGR_DIR

http://tracker.modx.com/issues/10010