Fix "gmake install" on FreeBSD.

install(1) on FreeBSD does not allow reading file content from
/dev/stdin, so we must create a real file in build directory before
calling install.