There are lua errors when compiling with nginx. The following gist
https://gist.github.com/4438255
Has the relevant details. This is the current remotes/trunk branch of the ModSecurity git repo and a source tarball of nginx 1.2.6. The config flags are in the gist.