Remove dependency on f2c