Fixed an issue with the web api sample build script.