gnu: Fix %(outN) specifiers in compile-commands.

These format specifiers were accidentally only implemented for Visual
Studio and not makefiles-based compilation.