fix double typedef and include path for lua
fix compilation on linux for bzip2
Merge pull request #189 from lfxgroove/fix-linux-compile

[Build] Fix linux compile