Can I change between versions just by changing the compiler directory shown in the next picture?
Yes.
I normally name the directories
PBP_247
PBP_250
PBP_260
and switch as you describe.