Make ctags generation handle spaces correctly

Also restrict it to run only on Unix systems