Makefile: fix cut params to run on BSD