Create libptp.c