work around a few _SCL_INSECURE_DEPRECATE warnings in Led