Be more forgiving to paths on Windows

Added a bit more checking to make sure options.dir gets resolved properly on Windows where paths may not have a leading forward slash.