The error is "Can't make '0' into type boolean. (-1700)". Seems like typecasting from zero to false is not working. I guess OSX86Tools is discontinued, so you better use EFIStudio rather then wait for a fix. They have outdated version so you google for EFIStudio 1.1
I have got the problem resolved finally and have a fully working install with no problems whatsoever.