Made compile with Visual C++ 2013 RC and added alias template