Make lint settings apply to the correct object.

They were attached to the `extern mod extra` previously and so were having no effect.

(Unfortunately I can only do this via the github web interface at the moment and so can't test/fix any new warnings this change creates.)
Merge pull request #1 from huonw/patch-1

Make lint settings apply to the correct object.