added static link support to pajealigner