fix releasetools for AOKP,RB
Credit to dhacker29 for his work