diff --git a/Rakefile b/Rakefile
index cb6c6f729280514d05d52209abc467314cd1f223..b6f2e81f7ad45f905e8ceab0187b8ef0c39dbbee 100755
--- a/Rakefile
+++ b/Rakefile
@@ -56,7 +56,7 @@ Rake::ExtensionTask.new("fox16", hoe.spec) do |ext|
 end
 
 # Make the compile task's list of dependencies begin with the :configure task
-Rake::Task['compile'].prerequisites.unshift :configure
+Rake::Task['compile'].prerequisites.unshift("fxruby:configure")
 
 # Set environment variable SWIG_LIB to
 # c:/ruby-1.8.6-p383-preview2/devkit/msys/1.0.11/usr/local/share/swig/1.3.22
@@ -192,4 +192,4 @@ namespace :fxruby do
   task :generate_kwargs_lib do
     ruby 'scripts/generate_kwargs_lib.rb'
   end
-end
\ No newline at end of file
+end