chore($azure): patch our build script to handle Azure closes #1022