makefile.am: add vf_pp
add libass support and a few other fixes
DEFINES: CONFIG_ASS -> HAVE_LIBASS
add check for nanosleep
add nannosleep and mmap checks