Resolve relative paths correctly.