Reverting c99: this causes compilation problems for LuaJIT.
Unsafe omp //.
last changes from Mike Pall
THC headers installed along with TH headers

... to enable development of external cuda-based packages.
Merge pull request #151 from akfidjeland/thc-headers

THC headers installed along with TH headers
Merge branch 'master' into luarocks