fixed a minor bug. looked for debug libraries