Fix to make it build with ghc 7.8.x

GHC 7.8 can no longer infer the type of the `decode` function used in `resolveLinuxApp`, so an annotation is required.