Fix moving NTC code to libraries

The class needs to be put into its own directory and suffixed with .cpp. The
configure script was also adapted to include "ntc" when asked for.