configure: simplified selecting single library to build