adding static keyword check_if_correct_elfheader