added -shared option to elmerf90.bat