Alexandre Julliard : makefiles: Determine module type based on the defined variables, and add some sanity checks.