add plib.h to mcapi test, optimize MPLAB ctaocrypt_test project