Improve build script options error reporting