Fixed flex compilation warnings