some work to make this work on my linux box