Fix compile on Ubuntu 12.10 (didn't include unistd)
Fix shader compile under Mesa. Apparently nvidia ignores using some reserved keywords as var names.