Added pkg-config to dependencies in linux, and lua to macosx