As told by the README, you should not use the /dev86 master branch from lkundrak, but the latest from Jody:
To build ELKS, you will need to obtain a copy of Dev86, currently available at: https://github.com/jbruchon/dev86 <https://github.com/jbruchon/dev86> When you build dev86, you need to move, copy, or symlink to it in the ELKS source code root. For a Dev86 source at /usr/src/dev86 do this: user:/usr/src/elks$ ln -s /usr/src/dev86 dev86 MFLD -- To unsubscribe from this list: send the line "unsubscribe linux-8086" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html