limit -std=gnu99 to solaris gcc only, though it may be harmless in many cases