remove header init code for libraries. fixes #23