Adding a few flags on compilation