got linux compilation to work with a little bit of elbow grease