Builds and installs curve_keygen tool