Fixed linux issues.