build: Fix resource not found at runtime
There's a linking problem with common apparently, I'm not sure how to fix that or if it can be fixed, so the simplest seems to be to add the source to each executable that uses it, instead of linking to common.
Fixes: b0be4048