fix bug when build modules at Sfp::Runtime#get_state