use -s (strip) flag only when -static is true on non-darwin systems