Updated build script and fixed enhanced the word count sample