Added linux compatibility to header parsing.