Retarget framework to 4.0