On MacOS might have issues with compilation. This should fix it in a case where liblua used is not the built in one.