import, adopt and update libprelude
fix watchfile for libprelude
patch libprelude to work with modern gnutls