correct source-dirs as list