build: Support executable only ldflags