A solution for issue #4

Note that I am shipping this patch and the other one in sage-on-gentoo now and all tests pass. 

I left the override "PATH_TO_GP" but its usefulness may be in doubt.