Fix build error in #668
Merge pull request #669 from cosmoharrigan/af

Fix build error in #668