Re-arrange targets (I hate waiting for pre-configure every time I
change something under ${WRKSRC}/buildtools/).

Add a workaround for shared libraries (not tested, but you should
got an idea).