Fixed Linux Compilation Errors