Build library with debug symbols