fix core2 target