An optimal target cost contract with a risk neutral owner