Set compiler flags and toolchain