powerpc does not inline sqrt(3) unlike other lld archs, so it actually uses libm and as such the `-lm' linker flag is needed. While here, refresh WANTLIB and add FIX_EXTRACT_PERMISSIONS. tweak and ok gkoehler@