exclude dirs option complete

Added option to exclude directories from build for each platform. This
can make the packages smaller.