C++11 loops and explicit casts are added, os::path functionality and defines were removed