building dist from source