Fix PrefixMode not being exported which caused runtime link errors.
Merge pull request #672 from SaberUK/master+rt-link-err

Fix PrefixMode not being exported which caused runtime link errors.