Fix physfs detection (fixes #280)