fix release building error