compile with debug lib (for desktop targets)