fix signed/unsigned comparison warnings
query pkg-config for lua flags
update deps