Fix Gruntfile to automatically run prepare task when needed.