Build: Remove empty define({}) from build output

Fixes gh-1768
Closes gh-1569