A few small changes to be more F# quotation friendly and a bug fix in reflection based lookup.

Signed-off-by: Rick Minerich <richard.minerich@gmail.com>