Application build is failing in complex packaging case