Fix the order of paths at require_dependencies.
Merge pull request #1492 from namusyaka/fix-paths-order

Fix the order of paths at require_dependencies. Closes #1491