Fix lay-out issues when build.
Make sure to exclude vendor packages.