Make source map generation optional