Fix python library install prefix issue on platforms in which libraries should go to lib64 directories
Better handling of automatic testing in case FFMpeg is not available