Fixing sample makefile so that static only compilation works