Fixes compilation when std.c does not exist
Adds phony targets to Makefile