Fixed minor errors for Linux