add "-d" for debug libraries and versions