add a ?build flag to load platform.min.js