Fix delete on void*; Add building library