add patch to fix build for gcc 4.7
ocd tweak of debug config, add parallel make, use ccache.