use pkg-config instead of hardcoding paths

Please accept this patch which uses pkg-config to figure out where to install things instead of the existing hardcoded ones.. I've assumed everyone is using luajit with nginx.