Resolve relative paths according to some source directory