teal_13_16_acu131387_support_mingw

@szmyd various fixes for right_link specs running under mingw