Fixed an issue preventing make distcheck from working.