Fix build with GHC 7.6.3

15a767b1934bc5060142b9ba2c16137a05457bff broke building with 7.6.3
by adding -dynamic-too, which exists only in HEAD. This commit
adds conditional check around -dynamic-too.