Fix for grunt and release builds