makefile: Add -rdynamic flag to link command, required for self P/Invokes