removed dependency on config.h