Change new and delete operator as global