function for compiling in c++11

clang does not support all c++11 features. For e.g initializer lists.
This alias overcomes such issues. TODO : run and remove .o files in
same function