Fixed linux compile issues