fix heap to static_lib.