core: fixed build.
Merge pull request #464 from shaitan/master

core: fixed build.