fix compiler flags to allow building of TWRP Recovery