enhanced build integration. removed strdupa