Harmonize compiler options, warning fix