libmy c++ support added