Fix the new/delete overriding issue in Linux