Fix constants in headers and needless "extern" (thanks mumbel)