rakefile: fix build for non re app