qCompilerAndStdLib_make_unique_lock_IsSlow bug define and workarounds for perofrmance issues
cast memcpy() results to (void)