Fixes BUILDDIR variable treatment in opts file.