Added extern-C around log as function names couldn't be found in MSVC
Added rx_norm_path()