fix building dist package