revert toolchain and flags