refactor *_OPTS settings in the build system; no functional changes