Employee is a pretty loose term. He is doing some work (coding) in return for something of assumed value (stock or options). Just because he is not getting an actual paycheck does not necessarily mean that is not an employee of sorts.
There is also no mention of how much of a track record the OP has in terms of creating success. Everyone is going on about how this is such a raw deal for him. If he has no real wins on his resume, this could be a huge opportunity to create something that he can take a lot of credit for, and leverage that to either co-found his next venture, or join an early stage startup with the ability to demand a good overall package.
Sometimes you have to actually take a less-than-optimal deal to build up a platform under yourself from which you can shout your next requirements from.