unity builds okay now
removed use of ptrace