Fix undefined error if sourcemaps option not defined