fix a gcc warning message in the flint library
added  patches so gcc 4.8 won’t complain so much during compilation.