use pkg-config to find lua compiler and linker flags