Use "stamp" files to sequence javac and javah invocations.