Made the library check for needed features and complain if they are not there.