Fixed type inference error for F# 3.0