Fixed missing part of build-with-options.