Correct some linux building issue and wrong file header