Fix error in non-module compilation.