Build dist file