build with pgk-config fixed

Error fixed: "ruby: symbol lookup error: /home/leo/.gem/ruby/2.1.0/extensions/x86_64-linux/2.1.0/ruby-lua-0.4.0/language/lua.so: undefined symbol: lua_newstate".

Also there will be errors now if no lua found through pkg-config.