fix compile error in two projects

Change-Id: I69682ecf050c2716a9ee15cca74d3b11af1aff41
Merge pull request #10 from singwhatiwanna/dev

fix compile error in two projects