Fixed the build of distribution