add helper function to print model information
remove dependency on config.h

This reduces compilation time if ./configure is run again.