toolchain: cmake-3.0, gcc 4.9
all-round cleanup