improve g:loaded_external check and finish if v:version < 700