minor tweaks for darwin
Stroika v2.0a4: tested with gcc46,47,48 on linux; Visual Studio.net 2013 (windows); and clang++-3.4 (linux); started port to MacOSX (clang++/very incomplete)