Fixed build on machines without TR1