Fixing OSX build failure.

OSX adds .DS_Store files to folders. The build script should ignore
these files.
Adding outline list creation code.