fix static path in Makefile; add var for srv mode ctrl.