modify hook and load .h file in c++-mode