Revert "Patch up some Linux stuff that patch command wouldnt do"

This reverts commit a03fc62b03a19196309621c0f8c891fbf43ef0cc.