Improve build process. Separate out source and dist files.