Attempt to fix loss of compiler options when reloading specs.