Fix releasetool error during compilation