Pr configure fixes for visual studio

Various fixes to make cmake to pass successfully on with -G "Visual Studio 12" generator. Also fixed one test case linking problem with poclu when compiling on Ubuntu with self compiled llvm 3.5.
@dsandersimgtec how about -force-interpreter switch? If that is used does it still need -march to be given? 

@kraiskil do you have any idea why it fails on ARM ?