fix linking option (-no-undefined --> --no-undefined)