correcting compile error in linux