simplify condition
expand IS_ABSOLUTE_PATH on Windows, so then strlen() isn't called twice
reverted some previous IS_ABSOLUTE_PATH related changes

It's fine with strlen usage now, only one call
reverted too much