fix compilation problem for fortan modules