Add flags to avoid warning messages comming from boost