Add header dependency information to configure script