support building with debug symbols