Update samples to compatible target framework