Initial build checkin taken from some recent Moby projects...