Made changes for compiling in Linux