Install Windows10 on older mac with boot camp does not provide install option
The problem was the file system. (Thanks to @MatthewBarclay for the hint) It seems that one need to use APFS. I installed a fresh copy of OSX and then everything worked fine