Make levigo configurable based on chosen backend; enable static linking