Enabled parallel build; fixed deprecation warnings of 'x == None'