Fix luacurl compilation on Ubuntu 12.04