1. fix compiling warning
2. move the target out folder