Fix link flags to not propagate relative paths.