Fixed build error handling using invalid Python syntax.
Merge pull request #550 from cadyyan/master

Build Script Error Handling Error