fix(build): load dependencies manually instead of using shim configuration
(cherry picked from commit e591fe3)