fixing patch
adding build step to copy header from xcode to usr/include/sys
adding commmand to copy xcode header to correct place