OS build with dependencies patch