Fix issue #23. Use pathinfo for src link.