Prevent options being lost when using multiple source files.

When using multiple source files, the options are passed correctly for
the first file but are lost for subsequent files, resulting in the
default options being used.