Fix release builds