initial modificatio for compiling under linux