FIX: relative path to optimizer is converted

to an absolute path. This is done before we (maybe) change the working
directory.