fixes #5248 - restrict fog-core to compatible version (fog#2873)