Remove old code

GetKernelStakeModifier
Update makefile.osx