Modify Rakefile to go through the build process without failure.

This commit refs #166.
Merge branch 'id/166' into dev