Ugly fix for catching all compilation errors