Check for pre-existing pdf mime type (fixes #24).

Stops this warning from showing up when the pdf mime type has already been defined:
```warning: already initialized constant PDF```