Build paths with correct seperator.