Adds uglify2 to build config whitelist. Credit to @gcirne