build: fix examples and tests with static resources