stack frame adjustments for OSX; removed extern for x64