make it cross compilable
remove useless header