Fix demo static building with ext resources