[rake-builder] creating dependencies using g++ instead of own and quite bad solution