add forgotten file to Makefile rule
fix some warning issue and compilation when profiling activate by configure