Dependency fix when building