Fixed a few linux issues

Signed-off-by: retep998 <retep998@verizon.net>