Fixed linux compile errors (for real)