add missing headers
disable -Wformat-zero-length in tests for gcc