Link the c++ lua library if building for HHVM

Change-Id: I2ee5ee8b7ebd6607665e24771035f0a6fde9ff36
Signed-off-by: Giuseppe Lavagetto <glavagetto@wikimedia.org>