Replaced deprecated features from build script.
Replaced deprecated features from build script.

orsjb/HappyBrackets,orsjb/HappyBrackets,orsjb/HappyBrackets,orsjb/HappyBrackets,orsjb/HappyBrackets,orsjb/HappyBrackets