Added postinstall script to build the distribution files.