Compilation flag corrections