Update AMD to support better minifications