Fix build issue on armv7l related to ptrace()