fix release build