modifications to support Linux compilation

I made minor modifications to support compiling on Linux.