Make debug libraries optional on Linux.