Fix building using old MSYS installs

Make was erroring about empty for loop in print_list.

/bin/sh.exe: -c: line 1: syntax error near unexpected token `;'
/bin/sh.exe: -c: line 1: `for i in  ; do echo "    $i"; done'

Might be better to fix print_list, but I don't know how.