Fix build custom assets loading.