change library linking order

some gcc configurations or versions (for instance, gcc 4.6.3 on Ubuntu 12.04)
require a specific order
provide custom yyerror function

liby.a's yyerror() relies on rpl_fprintf() which is not available in all
versions of bison's liby.
Merge branch 'fix' into dev
stop immediately on errors
update dependencies