+tweaks for macos configure
+signed write result