Small changes to header files and implementation of stringdup.