moved from https://sourceforge.net/p/libint/tickets/11/ 1) removes too much in case of the in-place compilation 2) removes too little in case of a separate build directory
moved from https://sourceforge.net/p/libint/tickets/11/