standalone: fixes for Makefile