Add -no-undefined linker flag to allow dll build