Correct some warnings, Add Linux compiling script