fix bug for modernizr build process