Fix build trouble with older Clang and libbsd
Remove APSL code