Fixed bug in nat_osm when sourcing common/all_funcs