build: fix for backwards compatibility