Fix issue 4814
Merge pull request #49 from andralex/4814

Fix Issue 4814 - rdmd: Doesn't rebuild when using -of and turning an -L linker option on or off