moved from src and pdf2swf into the lib directory, as it's used by both.