Prevent kernel32.dll and winmm.dll from overlapping