Export opt() and opts() type.

I added a warnings_as_errors to compile options. And I was made to export the type.