Tweak to block scheduler to fix compilation issues with older compilers