usercore,servicecore: fix loading of scriptcore.dll
Merge pull request #589 from karolherbst/win32

usercore,servicecore: fix loading of scriptcore.dll