Do not use deprecated /e modifier
Fix env detection
sfProjectOptimizeTask: Added cache generation for module config files