Fixing build and ignore rules