check if smarty compile directory is writeable for the current user or exit if not