changes to get rid of f2c dependencies in general