add ldflags on build with main.commit and main.branch to Makefile