Fix file headers and header #defines

Fixes #10.