libreplace: fix standalone build on some systems.