fix linux api hook and fix linux keylog coredump