needs to be on ldflags as well