getting code to compile on my linux machine